[HVM] Save/restore: disentangle max_pfn from nr_pages.
authorTim Deegan <Tim.Deegan@xensource.com>
Fri, 9 Feb 2007 10:48:41 +0000 (10:48 +0000)
committerTim Deegan <Tim.Deegan@xensource.com>
Fri, 9 Feb 2007 10:48:41 +0000 (10:48 +0000)
commite0bc4531dfc430497e311f13192781ce215d40b8
tree11fe8e310a71d1b697e7be224d0d68f658a8f6e2
parent982965741d777beb7f79e46e15a05f8c6dd2ce1e
[HVM] Save/restore: disentangle max_pfn from nr_pages.
These have been used interchangeably, which is OK for PV domains but
not for HVM.  This fixes an over-allocation by 256MB when restoring
HVM guests that have more than 4GB of RAM.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
tools/libxc/xc_hvm_restore.c
tools/libxc/xenguest.h
tools/libxc/xg_private.c
tools/xcutils/xc_restore.c